/*
 * $Id: DefaultAppTecFactory.java
 * Created on 2004-12-28 13:59:42
 */
package cn.donave.framework.impl;

import cn.donave.framework.DoNaveFactory;
import cn.donave.framework.biz.service.BizControl;
import cn.donave.framework.dao.AnythingDAO;
import cn.donave.framework.dao.BaseAnythingDAO;
import cn.donave.framework.exception.DoNaveException;

/**
 * @author Tim Du
 * 
 */
public final class DefaultDoNaveFactory extends DoNaveFactory {
	private static final long serialVersionUID = 1L;

	// private static AnythingDAO anythingDAO = null;
	// private static BizControl bizControl = null;

	public DefaultDoNaveFactory() {
		super();
	}

	public AnythingDAO getAnythingDAO() throws DoNaveException {
		return BaseAnythingDAO.getInstance();
	}

	public BizControl getBizControl() throws DoNaveException {
		return new BizControlImpl();
	}

}
